package cn.humaohua.study.yanmo_design_pattern.ch07;

/**
 * 装机方案1
 */
public class Schema1 implements AbstractFactory {
    private int pins = 1150;

    @Override
    public CPUApi createCPUApi() {
        return new AMDCPU(pins);
    }

    @Override
    public MainboardApi createMainboardApi() {
        return new MSIMainboard(pins);
    }

}
